martin-lozano-21818a22 martin-lozano-21818a22 https://www.youtube.com/channel/drmartinlozano https://www.youtube.com/channel/drmartinlozano googlescholar


1 Introduction.

Welcome to the course! I wish that at the time you are reading this document you, your family and friends are all well.

1.1 Perfil de egreso (en español).

This course contributes to developing the following professional profile.

El egresado y la egresada de la licenciatura en finanzas internacionales comprende el funcionamiento de los mercados económico-financieros e implementa modelos cuantitativos para analizar y ejecutar estrategias de financiamiento e inversión en un ambiente de incertidumbre. El graduado toma decisiones financieras innovadoras basadas en el análisis de datos, la creación de valor económico, y su conducta profesional es coherente con altos estándares éticos. Además, es consciente de su responsabilidad en la solución de los retos sociales y ambientales en el contexto de las finanzas sostenibles. Las habilidades y competencias del egresado son congruentes con las demandas de la industria 4.0 al incorporar lenguajes computacionales y aplicaciones tecnológicas para el análisis de Big Data, automatización de análisis financiero, y el desarrollo de algoritmos usados en machine learning e inteligencia artificial para abordar los retos de la industria financiera. Su perfil le permite reaccionar y adaptarse ágilmente a los cambios vertiginosos de la industria y los mercados financieros, hacer investigación aplicada, y proponer nuevas soluciones de valor a negocios tradicionales y FinTech.

1.2 Distance and face-to-face learning.

The content of this syllabus applies for any learning format, including face-to-face, blended or fully distance learning.

Distance learning is the education in which students are not physically present at a school premises. In my experience, distance learning courses can be as good or as bad as traditional regular learning. Students may prefer one or another, but I think students are supposed to be able to learn under a wide variety of changing circumstances. In fact, recruiters want applicants to be able to demonstrate that they can adapt to unfamiliar environments and respond positively to unexpected changes and new ways of working. So, do not be afraid of online courses or distance learning schemes. If you are positive about them, you could not only learn a lot but also develop some useful skills that are increasingly valuable in the job market.

The first distance learning course I taught was in September 1999, and I have been into distance learning since then as a postgraduate student and professor. My growing research network consists of colleagues in Chile, Ireland, UK, Italy and Spain. Even though we physically meet about once a year, most of the time we work remotely and we are quite used to it. It is important to know how to collaborate in virtual environments just as well as we do in face-to-face formats, including the available technology that allows us to shorten physical distance between us.

I have vast experience with face-to-face, blended and distance learning in all its variants, and I hope this experience can contribute to help you complete this course successfully. Welcome again!

1.3 About me.

I am currently professor of finance and economics at UDEM. I regularly collaborate with The University of Manchester (Alliance Manchester Business School); the Centre for Financial and Management Studies (CeFiMS) at SOAS University of London, among others universities.

Let me introduce myself by listing my postgraduate studies and describing my professional background.

Areas of expertise. Finance, Economics, Statistics, Data Science.

Research interests. Empirical asset pricing; beta and SDF pricing models and tests; financial econometrics; GMM estimation and inference; portfolio allocation models and performance; computational finance; data science applications in business.

Education. I have a Postdoc in Finance from The University of Manchester; a PhD in Quantitative Finance from the University of the Basque Country; a Doctor Europaeus mention from the European University Association. I have four MSc degrees in Statistical Learning and Data Mining; Modern Applied Statistical Methods; Quantitative Finance; and Finance. I have three University Expert degrees in Statistical Learning and Data Mining; Statistical Techniques for the Scientific Analysis of Data; and Advanced Methods of Applied Statistics. I have a BS in Economics.

I also have more than 20 professional training in the area of data science, sustainable finance, migration and innovation from Strathclyde Business School, University of Bath, Duke University, RISIS (Research Infrastructure for Science and Innovation Policy Studies), Università della Svizzera Italiana, AIT Austrian Institute of Technology, The Alan Turing Institute, Universidad Complutense de Madrid, Manchester Institute of Innovation Research, among others.

Research. I am a researcher in the area of quantitative finance. I have held a couple of full-time research positions as a one-year pre-doctoral Marie Curie research fellow Supported by the Sixth European Community Framework Programme, and a two-year post-doctoral research fellow position both at the University of Manchester (Business School, and the Centre for the Analysis of Investment Risk). My research has been published in 3-star journals according to The Chartered Association of Business Schools, including Journal of Empirical Finance, Quantitative Finance, and Journal of Financial and Quantitative Analysis (research assistance). My research has been presented in numerous research seminars in the UK, Spain, Mexico, Sweden and Ireland. My research has also been presented in prestigious international conferences including the Spanish Association of Finance Forum; Eastern Finance Association (USA); World Congress of the Econometric Society (Italy); French Finance Association; and Econometric Research in Finance among others. I collaborate as reviewer and editor for several academic journals in the areas of finance.

Teaching. I have been a lecturer in economics, finance and data science for under and postgraduate levels at different universities in Mexico and the UK for the last 20 years. Also, I have supervised almost 90 dissertations at under and postgraduate academic programs of schools including the London School of Business & Finance; University of London, School of Oriental and African Studies (SOAS); The University of Manchester; Universidad Complutense de Madrid, UDEM, among others. Also, I have experience in continuous education, consulting, and executive training in the area of finance.

My academic profile, including my full and updated curriculum vitae, can be found here.

I love art, mainly painting and music, as the expression of human creativity and imagination. I spend some free time playing my Yamaha digital piano. I also used to be an active keyboardist, piano player, and orchestra director. Most of my experience in this field has been as a musician at live concerts in Mexico and Europe, piano solo concerts, and musicals organized by the Tecnológico de Monterrey (Campus Monterrey) for about a decade.

2 Course overview.

In this section I describe and explain the course objectives, mechanics, and important information about academic integrity.

2.1 Description.

EMF. The course includes a COIL (Collaborative Online International Learning) activity with students at Universidad Pontificia Bolivariana in Colombia in the hope that students attain a degree of intercultural understanding. Econometrics is the branch of economics concerned with the use of mathematical and statistical methods describing economic systems. We define financial econometrics as the application of statistical techniques to answer problems in finance. For example, we might know from previous courses that there is a negative relationship between interest rates and stock prices, but we cannot know the size or the magnitude of this relationship unless we measure it and verify how strong or weak this relationship is by applying econometrics. Financial econometrics also allows us to incorporate data into existing financial models to empirically test their validity and find estimates which are significantly superior to informal guesstimates. Forecasting is also a common and popular task in financial econometrics. It is an integral part of the decision-making activities of management, as it can play an important role in many areas of a company. Most of this course is about forecasting methods that we commonly use in finance and economics. Forecasting is about predicting the future as accurately as possible, given all of the information available, including historical data and knowledge of any future events that might impact the forecasts. This subject can contribute to evolving from a student to a practitioner in the area of finance, especially because we are going to incorporate computational finance in R as a way to learn financial econometrics. The main electronic textbooks are the following: Hyndman and Athanasopoulos (2021), and Lozano (2023b). Other good reference books based on R are Hanck et al. (2020), Gujarati, Porter, and Gunasekar (2012), Brooks (2019), Oswald et al. (2020), Heiss (2020) and McNulty (2021), Çetinkaya-Rundel and Hardin (2021), James et al. (2021). For Python, see Heiss and Brunner (2020). Please see the course calendar at the end of this syllabus to review the topics, activities as well as the required readings.

2.2 Objectives.

The main objectives of the course is that you understand the course topics, learn to apply a variety of models in the area of financial economics and quantitative finance, and develop the required competences in the field. You will learn the topics by implementing the relevant quantitative techniques and models originally presented in paper into computer code and then report your insights, analysis and results. The learning activities and the available resources are designed to help you acquire or strengthen your skills as a financial professional, practitioner and junior researcher.

To achieve these objectives, you will take a series of tasks during the semester, which can be summarized by reading, working hard and contact me in case you need assistance. Consider the pseudocode below. It might not run in R, but it is still good to illustrate the learning process based on personal persistence and determination that I recommend you to follow. The learning process is much more complicated than this simplified pseudocode. However, complicated concepts can be represented in a simple form to better understand and communicate it.

# Initial condition.
learn <- FALSE
# Initial inputs assigned to study the topic.
inputs <- c(read, time, effort, assistance, others)
# Learning process.
while (learn == FALSE) {
  understand <- study(inputs) # Evaluate study function.
  if (understand == FALSE) {
    print("Add more inputs and try again.")
    inputs <- inputs + 1
    }
  else { # Understanding is the way to learn.
    learn == TRUE
    print ("Well done!")
  }
  }

2.3 Mechanics.

The whole course is based on the following assumption: you are expected to happily and enthusiastically work throughout the semester to accomplish my expectations as professor, complete the learning activities well on time, understand the subject and its applications as good as possible. You are expected to follow the course calendar (at the end of this syllabus) as a main tool to prepare yourself in advance for every lecture topic, readings, and be aware of every future activity, assignment submission and exams. Following the course calendar is an easy way for us to be on the same page during the semester as we know with certainty the course progresses from day 1 until the final exam day. Most of the time, you will have to assign more than one week to complete a task in the calendar, this is why you are expected to manage your time efficiently so you can accomplish your course duties.

In this course, you are expected to consciously study the required material in advance as well as practice on your own because this will allow you to develop the necessary conditions to contribute with valuable comments and/or interesting questions in class. If you openly decide not to do this, then you might feel that you are getting behind, or perhaps you might not get advantage of the number of things that you can potentially learn in this course. In fact, if you fail to consciously read the required material in advance, the risk of getting frustrated increases, and frustration is the best way to lose interest, get lower marks and eventually fail in the worst case scenario. Then, if you are interested in reducing the risk of failing the course, I recommend you to consciously study the required material in advance as well as practice on your own as much as you want or need.

In this video, students from The University of Melbourne share great tips and strategies about how they get the most out of university lectures.

For your convenience, and in accordance with some of The Sustainable Development Goals by the United Nations, see UN (2015), all the compulsory readings and activities submissions are available in electronic format. Other complementary material and activities could be incorporated or altered during the semester depending on relevant news or events that do not exist at the moment, or that are hard to anticipate at the beginning of the semester. If that is the case, I will let you know in advance. As a student, you should be confident that all the course material and activities are perfectly suitable for an undergraduate student enrolled in a prestigious world-class university. In other words, there will not be an intellectual challenge that you cannot overcome with an appropriate amount of enthusiasm, time, work, determination, and assistance (if necessary). This course is designed in such a way that you can pass and learn as long as you invest the right amount of time and work.

I assume you are aware of the academic regulations dictated by the university. If you are not familiar with these, please review the corresponding student regulations. In this course, we will attach to them.

2.4 Academic integrity.

We pledge to hold ourselves and our peers to the highest standards of honesty and integrity. Academic integrity violations including plagiarism and cheating are prohibited and may result in the failure of the assignment, failure of the course, and/or additional disciplinary actions depending on current regulations. We understand plagiarism as the presentation of another person’s thoughts or words as if they were the student’s own. For example, copying from textbooks and other sources (including the Internet) without due acknowledgment that the passages quoted are copied and without giving the source of those passages.

Please watch the following video about plagiarism taken from York St. John University (UK) about understanding plagiarism.

I strongly advise you not to construct a piece of work by cutting and pasting, or copying material written by other people into something you are submitting as your own work. No matter what pressure you may be under to complete an assignment, you should never succumb to the temptation to take a short cut and use someone else’s material inappropriately.

See the following video to illustrate this point:

Ethical behavior is implicit in the course mechanics and rules, and it will be explicit in several topics throughout the course material. Following the indications of this syllabus is a simple way and a clear example regarding how we can effectively pursue ethical behavior. Ethics concerns are inherent in business, economics and finance activities because the professionals in these fields frequently manage resources to achieve a range of objectives, not exclusively maximize profits. Pursuing ethical behavior also helps us to build solid institutions, which is consistent with the United Nations 17 sustainable development goals UN (2015). Managing own or third-party resources entails a high degree of responsibility because people often face the alternative to apply unethical strategies to achieve their own interests. A proper discussion of the ethical aspect in the decision-taking process including conflict of interests is necessary to increase the awareness of young professionals like you. In the end, following an ethical code as a business practice can contribute to strengthening or building your own reputation – one of the most significant assets you have, or are currently building.

Take a look at this video about integrity.

2.5 Sustainable finance.

I am certified as carbon literate by the UN Climate Change Conference and Coventry University. The certification represents a robust understanding of the climate context and a commitment to recognise ways to adjust our behaviour to reduce our carbon footprint, as well as influencing our social and professional circles. My view is that one way of achieving a positive impact over the environment and the society is to learn more about sustainable finance.

According to the European Commission, sustainable finance refers to the process of taking environmental, social and governance (ESG) considerations into account when making investment decisions in the financial sector, leading to more long-term investments in sustainable economic activities and projects. Environmental considerations might include climate change mitigation and adaptation, as well as the environment more broadly, for instance the preservation of biodiversity, pollution prevention and the circular economy. Social considerations could refer to issues of inequality, inclusiveness, labour relations, investment in human capital and communities, as well as human rights issues. The governance of public and private institutions – including management structures, employee relations and executive remuneration – plays a fundamental role in ensuring the inclusion of social and environmental considerations in the decision-making process.

In this course, you will be exposed to an introduction about sustainable finance. In particular, you will acquaint yourself with the basic skills and tools for applying the sustainable finance mechanisms to a real-world policy or business context.

Earth’s global average surface temperature in 2021 tied with 2018 as the sixth warmest year on record, according to an analysis by NASA:

3 Data science.

Data science is the study of the generalizable extraction of knowledge from data. Being a data scientist requires an integrated skill set spanning operations research, statistics, and computer science along with a good understanding of crafting a problem formulation in a specific field for effective solutions. This course will introduce you to this rapidly growing field and equip you with some of its basic principles and tools as well as its general mindset in the context of business. Ideally, you will learn to apply financial and economic concepts, models, techniques and tools to review various facets of data science practice, including data collection and integration, exploratory data analysis, descriptive and predictive modeling, visualization, evaluation, and effective communication. See Hull (2020) for a good introduction to the world of data science applied to finance.

You are not going to become a data scientist in this course. Although you can always specialize in this field in your further postgraduate studies. Nowadays, most undergraduate students recognize that they need some knowledge of data science and machine learning to survive in a world where jobs are increasingly impacted by these areas. Yesterday, all executives needed to know how to use computers. Today, all executives will need to be comfortable managing large data sets and working with data science professionals to innovate and boost their productivity.

Learning these computational skills is consistent with the purpose of developing STEAM (Science, Technology, Engineering, Arts and Mathematics) skills in your undergraduate studies. I believe learning opportunities for undergraduate students should include authentic tasks set in a real-world context. Authentic tasks consist of ill-defined problems, complex or multi-step questions, multiple ways to approach a problem and sub-tasks that integrate across disciplines. Some of these STEAM principles and ideas are incorporated in several learning activities in this course.

Data science is strongly linked with finance and economics. Here, we will incorporate data science concepts and tools in the context of digital humanities. Digital humanities is a field of study, research, teaching, and invention concerned with the intersection of computing and the disciplines of the humanities, including economics and finance. It is methodological by nature and interdisciplinary in scope. It involves investigation, analysis, synthesis and presentation of information in electronic form. It studies how these media affect the disciplines in which they are used, and what these disciplines have to contribute to our knowledge of computing.

If you are interested to know more about the concept and the current vibrant discussion about digital humanities, please see Klein and Gold (2019), and to know more about data science and data ethics that is informed by the ideas of intersectional feminism, which is consistent with fifth United Nations Sustainable Development Goals, gender equality UN (2015), see D’Ignazio and Klein (2020).

To learn more about the 17 United Nations Sustainable Development Goals:

3.1 , a language and environment for statistical computing and graphics.

This course incorporates data science, data analysis and computational finance with R R Core Team (2023) to learn the main subject. Therefore, you will learn or continue learning to code as this will enhance your possibilities to apply economic and finance models in practical situations. It is true that this is not a computer science course, and we have a limited amount of time to review the compulsory finance-related material. This is why you will learn by doing the assignments, collaborating with other colleagues, doing Swirl online lessons and/or DataCamp courses to learn R. R is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. The barriers to getting started with R are currently very low because there are plenty of free resources available on the Internet, you only have to allocate the right amount of time and effort to learn. Probably the most important barrier is that some people might think computer programming is difficult, once they realize it is not as difficult then things improve significantly.

You may know that just a few years ago, those economic agents who had privileged access to information had a clear comparative advantage in business and overall decision taking. Today, information and data are pretty much available to everyone thanks to technology, and as a consequence the possibility to achieve an advantage simply due to information access has vanished. Now that data availability per-se is no longer a comparative advantage in business, knowledge has become a critical aspect in business. Nowadays, it is not about having access to information; it is about knowing what to do with increasing amounts of it to create value in business. Manipulating and transforming data into business tools and decisions has become a required skill for all business professionals.

There are many ways in which you can learn basic data science, or how to transform information into valuable business intelligence, but I consider learning to code is one of them. This is because computer coding allows you to train your brain to think more efficiently and more productively to solve complex problems and come up with innovative solutions. In this course, you will learn how to use R, a free computer language which allows branching and looping as well as doing modular programming using functions. Today, the Finance job market is increasingly demanding for candidates with some knowledge in the field of data science or computational finance, mainly because this boosts creative problem-solving skills and data analysis abilities.

According to my view, English is the leading language for doing research and business; math and statistics are the languages used to understand nature; and R is one of the most popular languages to communicate directly to a computer to conduct statistical experiments in the context of business. Given that computers are and will be part of our lives, we better learn how to communicate with them not only as a limited plain and boring user level but as a programmer level. As young professionals, it is important to differentiate yourselves with the rest of your colleagues and be prepared for the changing job market conditions in the area of financial economics. My view is that you are expected to be as proficient as possible in these three ways to interact with our environment regardless of your own professional expertise: English, math, and coding.

If you still do not believe me, listen to Steve Jobs:

If you have not yet the program in your computer, please download R and RStudio from https://www.r-project.org/ and https://www.rstudio.com/ respectively. There are some nice YouTube installation guides in the reference list (at the end of this document) that explains how to download and install R and RStudio from scratch. Those videos have been useful for my previous students. However, if you find a new and better video please share.

During your undergraduate studies, you will be expected to learn a bunch of good commercial software such as Microsoft Excel, SPSS, STATA, E-Views and many others. I truly encourage you to learn them as good as you can, especially if your professor asks you. However, you will have to be aware that these programs are fully controlled by private firms who seek to create value for their shareholders, so there is no guarantee that their associated file formats could be readable in the future, or even exist in the future, which negatively impacts reproducibility. I will never advise you not to learn commercial software like the ones listed above; but I will always encourage you to consider the alternative to learn and use R, Python or others for serious data analysis in the area of economics and finance. These computer languages are user-oriented and are created and constantly improved by a growing scientific community with an immense online presence to assist enthusiastic beginners like you.

Commercial software products as the ones listed above are definitely important in the job market, but you also should realize that the main interaction with these programs is by using the mouse to click on pre-defined, limited and inflexible menus. This kind of user-interaction is most of the times ephemeral and unrecorded, so that many of the choices made during a full quantitative procedure are frequently undocumented and this turns out to be highly problematic because there is no trace about how an analysis was conducted, and also because it becomes hard to propose an extension to the analysis in phases or replication in different contexts. In contrast, coding allows us to conduct and develop reproducible research. Learning how to code is equivalent to writing a cooking recipe and every time you click run you get the dish done. If you want chocolate instead of vanilla, you do not need to start your cake from scratch, you only have to change the flavor parameter from vanilla to chocolate, click run and voilà. Although chefs have to pay for ovens, kitchen items and even ingredients, while in economics and finance most of our inputs are free data and the technology is also free, as R is an open source software. So, by learning how to code, you can share, expand, reproduce and innovate on your own to the point of producing original empirical results that are important inputs for research outputs as in the case of your dissertation or other professional projects. My suggestion is: stop clicking and start scripting.

Look at this video to find out:

Commercial products have high licensing fees and also rely on mysterious black boxes to produce a battery of results. These black boxes are problematic because the data comes in and the result comes out as magic, showing no details about the assumptions and procedure followed to produce the final results, and the user could sadly get the wrong illusion that he or she can do data analysis. This might be convenient in some specific and limited cases, but in others you miss the fun that represents having access to all the details of the computation and limit the extent to which you can customize or extend to innovative and create new improved applications. The general alternative to using a point-and-click program is to familiarize with languages like R which allows writing scripts to program algorithms for economic and financial analysis and visualisation.

This is a good video that summarizes these ideas:

3.2 Deepnote .

Deepnote is a cloud-based new kind of Jupyter compatible data notebook built for collaboration. Most of the graded activities in this course are conducted in Deepnote. Deepnote allows you to easily work on your data science projects, together in real-time and in one place with your colleagues. Deepnote is usually a pay service, but I have free access because I requested it for educational purposes, so it is free for you as well. Please bear in mind that Deepnote is a service provided by a private company, so their policies may change and they could eventually cancel free access.

Deepnote is built for the browser so you can use it across any platform (Windows, Mac, Linux or Chromebook). No downloads required, with frequent updates and all changes instantly saved. In the background, Deepnote is running on powerful machines in the cloud. Notebooks are the heart of Deepnote, they are a rich computational medium which combines blocks of code including R and Python, text, charts, SQL queries, among others.

I recommend you to take the following Deepnote crash course: click here.

The basic Deepnote structure is as follows:

  • A workspace. The workspace name is formed by the semester ID and the course ID. It also has a workspace picture and it is located at the top left corner. In particular, I teach S23ARF1 (yellow cat), S23ARF2 (red bird), S23EMF (a dog), and S23IF (a frog).
  • Projects. Every workspace has at least 3 projects. One is called as the course name (ARF1, ARF2, EMF, or IF) and the entire class can edit its contents. The second is a read-only project and collects feedback, activities instructions and exam solutions. The third project is called as your group name which is the name of a Jupiter moon, this project is private as only your group and I will be able to edit the contents. I do not recommend you to create new projects as by default they will be running a Python kernel. Instead, you can create a new notebook within your private project with the Create a new notebook option, this will allow you to create a notebook with an R kernel.
  • Notebooks. Every project has notebooks, I usually start notebooks with a panda picture. Notebooks are .ipynb files or Jupyter Notebooks. They include code, narrative text, equations, and rich output. In sum, in your course workspace you will find assignment instructions in the read-only project in the form of a notebook. You can then export the .ipynb file with the assignment instructions with the Export as ipynb option, and then upload the instructions in your group project with the Upload ipynb file option. By the end of the semester you will not have further access to the course workspace, but you can export your notebooks to your own personal workspace if you want to.

I personally use cloud-based alternatives like Google Colab, GitHub Codespaces when I need a lot computational resources such as Graphics Processor Unit (GPU) or a Tensor Processing Unit (TPU), I also use Deepnote when I require real-time collaboration features and when I teach. I also have several free IDE (Integrated Development Environment) installed on my computer like RStudio, Anaconda, Visual Studio Code, and JetBrains. If you ask, my favorite is RStudio, in fact his syllabus has been created in RStudio with R markdown. Working with a cloud-based alternative versus a locally installed IDE is like working with Google Docs versus MS-Word. I believe we are all used to working locally and in the cloud, and we are all used to dealing with data privacy issues and backing up our files regularly.

I anticipate that some of you might be frustrated because you may think programming is very difficult. At this moment you might wonder why you are expected to get into such a painful process. The answer is that it is not that painful and you will discover a fascinating whole new world with respect to the free open source software, the generous online community, and you will get to know some of the ultimate innovation advances in terms of scientific document production with virtually no limits compared with other commercial software. Learning new things is one of the things you do at University and this is only one of many new things you will learn. At the beginning, learning new languages like R requires some time and effort, but I guarantee the benefit is much greater than the time and effort invested. As a student, sometimes you need to know which are the important doors that will lead to new and valuable knowledge, so this is definitely one of them. Do not let temporary frustration damper your learning experience at the University.

4 Learning resources and activities.

This course is conducted in Spanish and English. Most learning resources are in English, exams and homework assignments submitted in English. However, discussion forums, emails, and class sessions are conducted in Spanish.

The learning activities are classified as graded, non-graded and extra marks. All graded activities represent 100% of your final grade; non-graded activities are relevant for your learning but are not graded, so if you fail to do them you will not get any mark deduction. Extra marks are applied as a bonus to your graded activities or final grade.

The learning activities are also classified as individual and group activities.

4.1 Learning resources.

Here is the list and description of available resources for you to learn the subject. My advice is to use as many resources as possible because they will allow you to learn the subject and develop the required professional competences that you need to have.

Professor. I have vast experience as an academic and researcher. I also have numerous postgraduate studies and willingness to help you in case you need assistance to better understand the course topics. You only have to contact me and follow my advice.

Please see the video about professors:

Class sessions. We explain and discuss specific topics, ask and answer questions, review your study progress, and sometimes we conduct brief activities. Please note that the time available in class sessions is limited and we are not going to cover every single topic in full detail. Instead, we will use other resources and learning activities to cover the rest of the topics. You are expected to attend on time, participate, and engage in our discussions. I expect you to use your computer because you may need to use R, see the PDF textbook, or your own homework during the session.

In case of virtual learning, it is OK if you want to keep your microphone on, and camera on or off as most of the time we are going to share the screen during the class. For your convenience, unless otherwise stated, class Zoom sessions are recorded and available for you. Internet service may fail during class sessions, but this is a risk we all face.

See the following video for a good recommendation from Prof. Fleisch valid for online sessions and traditional course sessions:

Discussion forums. There are discussion forums in which we can interact. The interesting thing about discussion forums is that we can all read how the discussion is progressing and we can all participate. The logical evolution of ideas remains recorded while you receive my feedback and comments. Given that we have limited time in class sessions, we occasionally need discussion forums. We may also use the discussion forums as a way to submit individual activities.

Email. You are free to contact me by email at any time: <martin.lozano@udem.edu>. I also send group emails with important information, so please make sure my email address is not in your spam list. If I ever take longer than expected to answer an email or any other request, please insist and kindly remind me.

Meetings. Regardless of face-to-face or virtual learning, we can arrange 30 minute Zoom online meetings if you need further assistance or any other issue you want to discuss with me. Meetings can be individual or in group. You only have to ask for it by email to check for my time availability. If you need more time we can arrange more meetings or more time, whatever is best. This is the Zoom meeting link https://us02web.zoom.us/j/9209945512

Book. The book (or books) is one of the main pillars of this course. In my experience you mainly learn by reading and then reinforce by doing, although you have other diverse activities in this course. The book authors are one of the best in their field: John C. Hull (University of Toronto) Hull (2015), Richard A. Brealey (London Business School), Stewart C. Myers (Sloan School of Management Massachusetts Institute of Technology) and Franklin Allen (Imperial College London) Brealey et al. (2020) in the case of ARF and IF; Rob J. Hyndman and George Athanasopoulos (Monash University) Hyndman and Athanasopoulos (2021) in the case of EMF. These books are not only good for intermediate and advanced undergraduate degrees but also for first year master degree. I prefer to use original book versions rather than translations because according to my experience these are not always as good as the original English version, and in some cases are not available.

Tutorial. I have written a specialized online tutorial to explain how to implement some topics and estimate models using data. The tutorial can help you to understand how to go from the paper (textbook chapters) to R code. This is sometimes known as literate programming. My tutorials include Lozano (2023a), Lozano (2023b), and Lozano (2023c) among others.

Others. All learning resources described above represent a good resource for your own study of the course material. There are plenty of Internet resources that you will have to use, from databases, YouTube videos, GitHub public repositories, specialized programming blogs, books, electronic books, etc. See the resource list at the end of this document for further details. You are encouraged to read articles, reports and news on your own to enhance and expand your understanding about how theoretical concepts relate with current real-life events. The Economist, The Financial Times, The Guardian, The Wall Street Journal, MarketWatch, Reuters, Bloomberg, Bureau of Economic Analysis, Banxico, Project Syndicate, The New York Times, El Financiero (México), El Confidencial (Spain), OECD, are a good way to grasp contemporary insights related with this course. Other references to support your learning process include economic and financial reports from private banks such as Banamex and BBVA, and think tanks websites such as The Mexico Institute, México cómo vamos, CIDAC, IMCO, COMEXI, among many others. My advice in this respect is rather simple: the more you read the more you learn.

4.2 Graded activities. Exams: \(E_1\), \(E_2\) and \(E_F\).

We have 2 partial exams \(E_1\), \(E_2\) (40% of the final grade), and one final exam \(E_F\) (30% of the final grade) in English. Every topic discussed in this course is subject to be evaluated in exams. Therefore, if you are looking forward to achieving an outstanding final grade in this course, my sincere advice is to take class notes during the semester.

Please take a look at this video about taking notes:

This one is good as well. In this video, students from The University of Melbourne talk about using digital tools to take notes and stay focused.

When? Exams will be taken according to the course calendar, these dates correspond to the official dates dictated by the university partial and final exam calendars. Both \(E_1\) and \(E_2\) are 1.5 hours activities during the class session, and the \(E_F\) lasts 2 hours. In the case of 3 hour class sessions, the exam takes place in the first part of the class, and we review the exam answers the same day in the second part of the class session. In the case of graduated students we may need to change the final exam date for administrative reasons.

Please consider the following recommendations about exams:

Where? You do not have to be physically in the classroom to take the exams, you can take the exams anywhere you want as the exam is fully taken, answered and delivered in electronic format. You only have to make sure you have a good Internet connection. I will be available during the exams in Zoom, you do not have to log in the Zoom session, you only have to know I will be available in case you need it. In the case of 3 hour class sessions, you will have to log in to the Zoom session in the second part of the class to answer the \(E_1\) and \(E_2\) exam together.

How many questions? In the case of \(E_1\) and \(E_2\), I include 4 questions and you have to answer 3 so you have the chance to select the 3 questions that you know the best. In the case of \(E_F\), I include 5 questions and you have to answer 4. All questions have the same weight. It is not an option to answer all the exam questions, if you do that you may earn a significant mark deduction. The \(E_F\) covers all the course topics/activities. For your convenience, I take one question from \(E_1\) and one question from \(E_2\), and I include them with a minor change in the \(E_F\). This means that if you study \(E_1\) and \(E_2\) very well, you should be able to answer at least 50% of the \(E_F\) correctly. In case you take the exam on a different date for any reason, your \(E_1\) or \(E_2\) will have 3, not 4 questions as stated above. This means that you will not have the benefit of not answering one exam question. The same principle applies for the \(E_F\).

What are typical exam questions? I always let my students keep their own partial exams, so I guess you can find old partial exams. The course material evolves and exam questions change every semester. However, looking at old exams can give you a good idea about what kind of questions to expect in the exam. I always include some questions that require the use of R. Exam questions usually require some analysis and interpretation of results. For your convenience, we have review class sessions and/or mock exams before each graded exam. If we need more time to review we can use the discussion forum.

See some recommendations about review sessions:

Individual or in groups? All exams \(E_1\), \(E_2\) and \(E_F\) are group activities: no more than 4 students per group, otherwise you will earn a significant mark deduction. Groups are defined by yourself and will remain fixed throughout the semester. I will allocate a name to each group which corresponds to the name of a Jupiter moon. These groups are the same for the homework assignments \(H\). The class list could change during the semester as some students may enroll later or drop the course, in this case groups members may change, but the maximum number of students per group remains the same. Your group will have private access to a Deepnote project, this project is private as only your group and I will be able to edit the contents.

What are the mechanics? The exam instructions will be available for you according to the course calendar in an electronic format as an .ipynb file. The instructions will automatically appear in Blackboard 5 minutes before the class session starts. As soon as the file is available in Blackboard, you will have to download it and upload it in your own Deepnote project named as your group (the name of a Jupiter moon), and solve it online with your group. By the deadline, I will make a copy of your notebook to review it and mark it. There is no need to submit your exam file as I have access to your Deepnote project to make an electronic copy, you only have to make sure to finish before the deadline. A few days later, you will receive your group mark and some comments or feedback in the Deepnote read-only project. During the exam, I may visit your notebook quietly to see your progress.

Do all group members receive the same mark? Not necessarily. Individual activities may represent extra marks. Also, if one member does not contribute then he or she will receive a zero mark. I assign a group mark which is the same for all the group members. However, you have to complete an auto and co-evaluation. Your individual exam mark is then a combination of a group mark assigned by me, and the auto and co-evaluation, assigned by you and your colleagues. Full details below.

Can we open the textbook during the exam? Yes, you are free to use the Internet and all course material if you need it, including the textbook and tutorial. Exams are designed to evaluate your reasoning, coding and analytical skills rather than your capability to memorize concepts and do an Internet search. Exams are designed in such a way that you will not find the answers online, in a textbook or a test bank. Although the questions are designed according to the course material, these questions are most of the time new and original. The only constraint is that you are expected to answer the exam on your own with the help of your own group, no more than 4 students per group.

Are we going to review the exam answers? Yes, the class session after the exam is a Zoom session to solve the exam questions and the correct approach to answer the questions. This applies only for \(E_1\) and \(E_2\), we cannot do it for \(E_F\) because classes are over by then. Exam questions are open and there are usually more than one way to answer them correctly, so we will discuss a range of correct answers and common mistakes. Sometimes students are used to closed and unique answers, but this is frequently not the case in this course. If we need more time to discuss the exam answers, we can use the discussion forum, Deepnote, or you can ask for an online meeting. This is important as we usually have a limited time during the class session. Correcting your own mistakes in the exam is a good way to learn and practice towards the final exam.

What if we fail to understand our own mistakes? Regardless of the activity, you are expected to contact me in case you fail to fully understand your mistakes. I may ask you to answer them again before we can discuss your own mistakes in a meeting. Please note that the grade you get in the exam, including individual extra marks and the auto and co-evaluation is your registered partial grade.

4.3 Graded activities. Homework assignments: \(H_1\), \(H_2\) and \(H_3\).

We have 3 homework assignments \(H_1\) and \(H_2\) (30% of the final grade), and non-graded homework \(H_3\) in English. Assignments are good practice towards exams. Therefore, if you are looking forward to achieving an outstanding final grade in this course, my sincere advice is to start working on them as soon as possible. You can always show me your assignment progress and I can give you comments to improve. Deepnote allow you to add comments to some specific part of your assignment, if you tag me as @martin.lozano@udem.edu then I will receive an email notification to review your specific question, then I will answer you back as a reply to your original comment and you will receive an email notification as well.

When? The fixed deadline to complete homework assignments is 10:00 a.m. on the day marked in the course calendar and there is no late homework policy at all. This basically means that if you fail to do the assignment, and/or if you have an empty, wrong, or corrupted Deepnote notebook by the deadline, then the group mark is zero. This is important because sadly there are always some students who forget or simply ignore this information no matter how much I insist on this. The \(H_1\) is due a few days before \(E_1\); \(H_2\) is due a few days before \(E_2\); and \(H_3\) is due a few days before \(E_F\). I recommend taking enough time to plan and execute the required tasks in the assignments. Usually, low marks in this activity are not precisely because the assignment is difficult, but because the group started the assignment a couple of days before the deadline.

What are typical assignment questions? You should expect applied questions, some of them with a research-oriented approach. These questions will require you to develop computational code in R. You will need to learn new things and conduct some research to be able to tackle them correctly. However, you are not alone in this process, you have a long list of resources described in this syllabus including my help in the form of synchronous Zoom meetings, or asynchronous communications via Deepnote comments, or email communication.

Individual or in groups? This is a group activity. These groups are the same for the exams. Please see the exam section above to review the definition of the groups and relevant policies.

What are the mechanics? This is similar to the case of exams. The assignment instructions will be available for you in an electronic format in the read-only Deepnote project. As soon as the file is available, you will have to upload the instructions in your own Deepnote project named as your group (the name of a Jupiter moon), and solve it online with your group. By the deadline, I will make a copy of your notebook to review it and mark it. There is no need to submit your assignment file as I have access to your Deepnote project to make an electronic copy, you only have to make sure to finish before the deadline. A few days later, you will receive your group mark and some comments or feedback in the Deepnote read-only project.

Do all group members receive the same mark? The same as in the case of exams.

Are we going to review the homework assignment answers? The same as in the case of exams.

What if we fail to understand our own mistakes? The same as in the case of exams.

Why is \(H_3\) a non-graded activity? The \(H_3\) is a special assignment that is designed to help you to practice and study for your final exam by learning from your previous mistakes. It has a deadline but it is a non-graded activity. Given that it is non-graded, this activity is optional. The \(H_3\) instructions are the following: You are required to (1) correct all your mistakes in all your previous graded activities, including all the four \(E_1\) and \(E_2\) questions, and assignments; and (2) complete all your missed extra mark activities, mostly from DataCamp. The format and delivery is the same as the rest of the assignments. You can do it in group or individually. You will not receive \(H_3\) as by then you will have access to all exam and assignment answers. In any case, you can ask me to review it if necessary.

4.4 Extra marks activities.

As with any extra mark activity, you do not lose marks if you fail to complete them, but you can get extra marks over your graded activities if you complete them on time. In case you are taking two courses with me this semester, then the extra marks that you get in one course will be valid for the second and vice versa.

For every DataCamp course and skill track listed in the course calendar and completed on time you get a nice PDF certificate that looks good in your CV and LinkedIn profile. It also can help you to have more tools to write your homework assignments, exams, write your own PEF, and apply for interesting jobs. The list of courses, skill tracks and projects that apply for this course is available in the course calendar.

I find the DataCamp a very good alternative, although not the only one, to learn R and data science. Normally, people have to pay for a DataCamp account to learn data science, and some firms have to pay for this kind of training to help their employees to learn R or Python. Current fees for a DataCamp premium individual account is about 33.25 USD per month, about 200 USD for the semester. However, as my student, you have free individual access for full access to all DataCamp courses and resources for the whole semester as long as this firm keeps its promise to make this access free for my students. In exchange, DataCamp ask for a mention on social media, please find all the resources and instructions on these communication guidelines. Are you able to provide this?

I understand learning R could represent a source of uncertainty and stress for some of my students. This is why I have developed and gathered a vast amount of varied and free resources to learn R in the reference section of this syllabus. In fact, you have more free resources that you need in the semester. It is true that you will have to learn a few things on your own, and it is true you will have to investigate to learn some other things. You are expected to learn how to learn as well and as quickly as you can because in the job market you need to constantly learn and apply new knowledge, and solve problems that currently do not exist. A competitive graduate is not the one who learns what was taught in class, a competitive graduate is the one who also manages to learn how to learn.

DataCamp (courses, skill tracks, and projects). Starting from the second activity completed on time, you will earn extra marks over your next exam, it could be \(E_1\), \(E_2\) or \(E_F\). These activities will be available for you to complete in your DataCamp Assignments section, and listed in the course calendar as extra marks tag. Projects and courses can be completed in a few hours, but skill tracks require more time as they include more than one regular course. The amount of extra marks is a function of the cumulative number of activities during the semester. In particular, you earn \(n-1\) extra marks per activity \(n\).

For example, if you complete 9 activities in the semester, you earn a total of:

\(\displaystyle \sum_{n=1}^{9} (n-1) = 36\).

According to this example, extra marks will be assigned as 0, 1, 2, 3, 4, 5, 6, 7, and 8. See the course calendar for the correspondent deadlines of DataCamp activities.

DataCamp assessments. DataCamp assessments are individual activities that allow you to get extra marks over your final grade \(F\). Yes, over your final grade. These are time-limit online evaluations of your knowledge of R. DataCamp marks your assessment as N (novice), I (intermediate), and A (advanced) depending on your own performance. The rule to allocate the extra marks over your final grade \(F\) is the following: 0 for N; +1 for I; and +2 for A. Assessments will be available in your DataCamp Assignments section and in the course calendar as super extra marks tag. Assessments are completed during the class session and although DataCamp allows you to complete the assessment twice, I will take your first try as your grade.

Some students may have a DataCamp activity completed. If your certificate is older than the starting date of this current academic term, then you will have to do it again. In case DataCamp do now allow you to do it again, then you can substitute it by one of the following DataCamp Career Tracks: (1) R programmer; (2) Data Scientist with R; (3) Data Analyst with R; (4) Quantitative Analyst with R; (5) Statistician with R; or (6) Machine Learning Scientist with R. If this is the case, please let me know and share your certificate with me by email before the deadline so I can assign the corresponding extra marks.

Stickers. There are some opportunities throughout the semester to get extra marks. In this course, extra marks are allocated in the form of stickers, every sticker stands for 5 extra marks on your next exam \(E_1\), \(E_2\), or \(E_F\). They are called stickers because I give real stickers to my students. Stickers are assigned by merit. It is not very easy to get a sticker, but it is worth a try. The record so far is one student who got 30 extra marks over the \(E_F\), and he finally passed the course partially because of that.

The wheel of fortune. I roll a virtual wheel of fortune three times in the semester to randomly allocate extra marks to a lucky group of students. These extra marks are allocated to the next exam \(E_1\), \(E_2\), or \(E_F\). Make sure to attend this class as this is one requirement to get the extra marks if you are selected by the wheel of fortune.

Mock exams. We have three mock exams \(ME_1\), \(ME_2\) and \(ME_F\). These are similar to regular exams, taken during class before the real and graded \(E_1\), \(E_2\) and \(E_F\) exams. They represent an opportunity to get familiar with the examination process, logistics and level of difficulty of the real and graded exams. Mock exams are group activities, usually one question. Only if your group answers the question 100% correctly then your group will receive a sticker. I will post the correct answer after the deadline.

Mentimeter. We may have a few sessions in which we include a mentimeter activity. This activity is subject to be evaluated and if it is, then the top 10 best answers will have extra marks.

4.5 Non-graded activities.

DataCamp webinars. You are free to attend live webinars organized by DataCamp. See the live events DataCamp section for the upcoming webinars in this semester. Please note that you have to register to attend. Let me know which ones you are planning to attend.

Videos. You can record and submit one video per period (up to one per partial exam). This is an individual non-graded activity, in Spanish. The submission of this activity is by the discussion forum. I recommend you to upload the video as a YouTube link or any other similar platform so you can submit only the web url in the discussion forum. I would like to avoid others downloading the video, so I believe sharing the link is the best way to submit it. By sharing the video url will allow you to delete your video after the semester ends if you wish. The design of the video and the length is free although you have to start by introducing yourself and the course name.

There are four types of videos.

  • Type 1: Feynman. The Feynman technique for teaching and communication is a mental model (a breakdown of a personal thought process) to convey information using concise thoughts and simple language. The Feynman model is named after the Nobel prize-winning physicist Richard Feynman, who was recognized as someone who could clearly explain complex topics in a way that everybody — even those without degrees in the sciences — could understand. He was also named The Smartest Man in the World in 1979. According to him: The person who says he knows what he thinks but cannot express it usually does not know what he thinks. There are four simple steps to the Feynman technique: (1) choose a concept; (2) teach it to a toddler; (3) identify gaps and go back to the source material; (4) review and simplify. Teaching it to a toddler should not take it literally, it basically means that your explanation should be as clear and simple as a toddler could understand it.

Further details about the Feynman technique here:

  • Type 2: The interview. You can interview someone who can share some thoughts with us. For example, you can interview your mom or dad to discuss topics about his or her job. You are free to design the questions and the format. This could be a good opportunity to know how people in a specific industry tackle business problems, or challenges of people working in the public sector.

  • Type 3: Your pet. You can show us your pet. Tell us something about your pet, and how special it is for you and your family. Do you have a spider , fish , frog , cat , dog , craw , dragon ? All kinds of pets are welcome.

  • Type 4: Your hobby or talent. You may have a special artistic or sport talent you would like to share with us or a hobby which could be interesting for all. This could be a good opportunity to get to know you better.

5 Evaluation.

Let’s see how your final grade \(F\) is calculated.

5.1 Auto and co-evaluation for partial exams and assignments.

Of most frustration to students is receiving the same mark as their fellow non-contributing group members despite producing much of the group’s work. In order to avoid this free-rider problem you will have to answer an auto and co-evaluation. Co-evaluation is so important that one student may fail simply because of his or her low contribution in the group. Sometimes students face mitigating circumstances, if that is the case you will have to discuss with your group because their marks may have a significant negative impact on your mark.

Consider the co-evaluation as an effective tool to incentive or penalize the group members to work well and on time. As a professor, I am not always aware of who is working well within a group, but the co-evaluation can help us to be fair and assign marks based on academic merits. I am not planning to reveal specific details about how you co-evaluate your colleagues, I am only going to reveal the group mark and the final individual mark. So, your co-evaluation details will remain anonymous. Then, there are many incentives aligned so the group should work well, otherwise the chances to get a low mark are high.

In this video, students from The University of Melbourne share their thoughts on how to effectively work in teams.

Consider an hypothetical group of four students that worked together in their first assignment \(H_1\) for illustration purposes. The group mark is \(H_m = 90\), and now they have to complete their auto and co-evaluation. The group members are: Bebito Fiu-Fiu, Baby Yoda, John Doe and Winnie Pooh. Every member assigns a mark to the rest including himself using a simple Google Form. Then, John Doe’s auto and co-evaluation mark \(mean(AC)\) is the simple average of his 4 assigned marks.

In case \(mean(AC) \ge 70\), the group mark \(H_m \ge 70\) and he does not receive a zero from the group, then John Doe’s individual \(H_1\) mark is computed as \(H_1=(0.70 \times H_m)+(0.30 \times mean(AC))\). Otherwise, the individual assignment mark will be the lowest of \(mean(AC)\) and \(H_m\): \(H_1=min(mean(AC), H_m)\).

Using R:

fun <- function(AC, Hm) {
  if (mean(AC) >= 70 && Hm >= 70 && any(AC == 0) == FALSE) { 
  H <- (0.7 * Hm) + (0.3 * mean(AC)) } # H is the individual assignment mark.
  else {H <- min(mean(AC), Hm) } # Free-riders are penalized.
  H }

Let’s evaluate this function in R to see how it works. Assume this auto and co-evaluation is for the \(H_1\) and we are calculating John Doe’s mark.

# Bebito Fiu-Fiu assigns 90 to John Doe.
# Baby Yoda 0 to John Doe.
# John Doe 90 (autoevaluation).
# Winnie Pooh 100 to John Doe.
AC <- c(90, 0, 90, 100)
Hm <- 90 # Group mark.
H1 <- fun(AC, Hm) # Individual mark.
paste("John Doe's individual mark in the first assignment is:", H1)
## [1] "John Doe's individual mark in the first assignment is: 70"

If instead of the 0, Baby Yoda evaluates John Doe with a 70, then:

AC <- c(90, 70, 90, 100)
Hm <- 90 # Group mark.
H1 <- fun(AC, Hm) # Individual mark.
paste("John Doe's individual mark in the first assignment is:", H1)
## [1] "John Doe's individual mark in the first assignment is: 89.25"

Clearly, your co-evaluation matters because although the group mark is 90, John Doe’s individual \(H_1\) mark could range from 70 to 89.25 depending on Baby Yoda coevaluation.

Coevaluations are completed using a Google Form. I set up an example here: https://forms.gle/nqVoY8pt9oTddtHK9. Feel free to access the link and fill out the form to get familiar about the process. The real link will be available in the course calendar.

In particular, you will have two Google Forms web links to complete your auto and co-evaluation, one for \(H_1\) and \(E_1\), and one for \(H_2\) and \(E_2\). You will receive a copy of your answers by email just as in any other Google form. A typical issue is that students are not able to open it, but that is because you need to log in using the university email address. There is no auto and co-evaluation for \(H_3\) since it is non-graded, and \(E_F\) since classes are over by then.

5.2 Final grade \(F\).

The final grade \(F\) is computed as follows: \[ \begin{aligned} F &= 0.4[0.7max(E_1, E_2) + 0.3min(E_1, E_2)] \\ &+ 0.3[0.7max(H_1, H_2) + 0.3min(H_1, H_2)] \\ & + 0.3E_F. \end{aligned} \] This criterion is significantly better compared with the traditional average as the higher exam and assignment marks weigh more than twice the lower marks (70% versus 30%).

Unfortunately, some students who do badly in their first exam and/or their first homework assignment believe that everything is lost and they should drop the class. My view is that this is not a good strategy as the grading above allows you to have a very bad exam and/or homework assignment and still be in a good position to pass the course. For example, imagine that for some reason you have \(H_1=35\), but you manage to improve and get \(H_2=85\). In any other course you will have an average of \(\frac{35+85}{2}=60\) . However, in my course we compute weighted averages for both homework assignments and partial exams, so your weighted average is \((35\times 0.3) + (85\times 0.7)=70\) .

The difference between the weighted versus regular average is illustrated below:

The effect of weighted averages over the final grade \(F\) is quite significant. Here is a very extreme example to illustrate the effect of the weighted average. See the difference between a final grade of 56 versus 70.

Weight Activity Mark Points in this course Points in other courses
40% E1 0 0 × 0.3 × 0.4 = 0 0 × 0.5 × 0.4 = 0
E2 100 100× 0.7 × 0.4 = 28 100× 0.5 × 0.4 = 20
30% H1 0 0 × 0.3 × 0.3 = 0 0 × 0.5 × 0.3 = 0
H2 100 100× 0.7 × 0.3 = 21 100× 0.5 × 0.3 = 15
30% EF 70 70 × 0.3 = 21 70 × 0.3 = 21
100% F 70 56

In any case, my sincere advice is to keep the standard as high as possible in order to minimize the risk of achieving low grades. Note that stickers are not explicitly reported in \(F\) because they are part of \(E_1\), \(E_2\) and \(E_F\). Homework assignment co-evaluations are not explicitly reported either because they are part of \(H_1\) and \(H_2\).

5.3 General rubric.

The following list illustrates a typical rubric for graded activities.

What is a very good answer? Competent and well presented. The work is critical and comprehensive and has a degree of depth in presenting and considering the material. Integrates the concepts introduced and applies them to problems with some evidence of critical analysis. Provides clear and competent answers to the questions, written in good English. Clearly presents solutions to calculative questions and demonstrates very good analytic skills and understanding.

In this video, students from The University of Melbourne give their tips on ways to improve your English.

What is an average answer? Competent discussion of relevant material, but are largely descriptive and lack critical/analytic depth. Answers are well structured, well presented and demonstrate an average awareness of relevant material. Shows a basic understanding of concepts introduced but with limited ability to apply these concepts. Tends to miss the point of the question. Is written poorly, written in note form, lacks structure or is too short to properly address the question.

What is a poor answer? Work shows some weak understanding of the main elements of the course material. Shows very limited achievement of the relevant intended learning outcomes of the course. Has a weak understanding of fundamental concepts with no critical analysis. Produces answers that contain factual or conceptual inadequacies or inadequate analytic skills. Provides poorly written answers that fail to address the question, or answers that are too brief to answer the question properly.

You have to realize as soon as possible that you are being evaluated all the time, so every answer provided by you either in exams, assignments or even verbally during class should be clearly stated, showing your full thought-process, this will allow me to understand your own logic and grade your work fairly. Please do not forget this point as this will allow us to keep the academic quality standards high throughout the semester.

5.4 If you are struggling with the course.

In case you have any concern, any question about the course contents, or if you are having trouble understanding the course material, you have to contact me as soon as possible. This is your own responsibility starting from day 1. We can arrange an online meeting, or we can solve your questions or concerns by email, whatever is best. In case you are having a poor academic performance and you are genuinely interested to improve, my best advice is to contact me during the lecture period, not after the last session of the semester, and we can discuss specific strategies that can potentially help you to get higher marks and reduce the risk of failing the course. The point here is that you have to know that I can help you to improve your academic performance during the semester only if you are truly interested. If you would like to improve your marks at a later stage, or after the final exam, then I am afraid I can do nothing for you, but I can do a lot during the semester. Please email me in case you would like to arrange an appointment, my full contact details are in the first page of this syllabus. The email is definitely the best way to initially approach me.

In case you get a low mark in one activity or you get difficulties at some specific topic you should take immediate actions in order to quickly revert this. I am not planning to relax the marking criterion so what you have to do is to improve your own quality standards in order to pass given my marking standards and my expectations about your academic performance. You are free to contact me in case you need assistance about specific strategies to improve your academic performance.

I do not recommend you to get disappointed, angry or sad if you get a low mark. There is no need for that because getting one low mark is not determinant to fail the course. Please see the evaluation method to verify how the final grade is computed and you will be amazed in a positive way. Also, I do not recommend you to get frustrated if you receive an unexpected low mark or an unexpected negative feedback about your work or your answers. The mechanics here are very simple: in order to improve, understand and learn, you need to know what you did well, what you did wrong, and try again until you do well without getting desperate or frustrated in the process. In short, avoid negative feelings as these might lead to further frustration. Nobody wants to hurt you, we all want you to learn in a favorable environment. You have overcome challenges before, so avoid the dark side . On the contrary, you should rather work harder to meet the course standards. We are not in conflict, in fact we are collaborating. According to my experience, students who sadly fail this course ignore or forget these recommendations.

As a student, you may have different responsibilities. You are probably working, you might have family commitments, other courses, unexpected workload, troubles, and other diverse duties. All these may affect your academic performance at some time. My view here is that you are expected to do well in all aspects of your life and you will have to manage your time effectively and be productive. I hope you can allocate your time in such a way that you can pass this course and do well in the rest of your personal activities. Sometimes the workload is so intense that you have to evaluate whether you need to drop an activity to do well in the rest and keep you healthy, physically and mentally. If you find yourself overwhelmed by your personal troubles, workload and responsibilities, please ask for help, the university has professionals that can help you with this. If you have personal problems I can hear you and if I am unable to guide you properly, we can ask for professional help. Keep this in mind, we all care about your health, and health is far more important than a job, a course, and the university.

We all know that good grades do not necessarily make you a good person or a good professional. One could have difficulties at school but have such a good professional network, or an impressive ability to do business, or an impressive entrepreneurship spirit. However, grades are still quite useful to assess how well you are at meeting some academic standards and how well you manage to understand the relevant topics in your area of expertise. It is more important to be a good person than a good professional, and the graded activities are specifically designed to partially evaluate your technical abilities as a professional. Then, we all assume that you are a good person, and the course activities will help us to evaluate some of the required skills and competences as professionals. Having said that, I hope you can achieve high grades in this course.

In sum, I expect the best academic performance you can achieve, not the average, and definitely not the minimum. This should not be a surprise since you are studying at one of the most prestigious private universities in the country (we belong to a business school with AACSB and AMBA accreditation). If you succeed at delivering your best performance in this course, and I believe you can, then you might be in a better position to eventually tackle business problems including the most interesting and valuable ones which includes those that do not exist yet. I am sure you have done some extraordinary things in the past, you have overcome very hard challenges, so take this course just as another opportunity to unleash your full potential and show me how committed you are with your academic professional training.

I strongly believe you can learn anything just as this video from Khan Academy indicates:

Most of my previous recommendations in this subsection are for those who are having difficulties with the course. If you are doing fine, then good for you , try to enjoy the learning process as much as you can. My commitment is that you will have all the support and resources you need to pass the course during the semester; you only have to take them or ask for them during the lecture period, not after the last course session, and follow all my recommendations in this syllabus.

6 Checklist.

Please consider the following checklist to improve the chances to achieve a good performance in this course.

  1. Read very consciously this document as it contains important information about the course, including the attached videos and references. You might need to read it several times during the semester. Quoting Yoda : read the syllabus you must.
  2. If you consider learning how to code is very difficult and you think you need more practice, then take all the Swirl and DataCamp courses that you want or need. I teach a course of R every year, and you can also contact me if you need further help. You are expected to learn new things, and this is only one of them.
  3. If I ever take longer than expected to answer an email or any other request, please insist and kindly remind me.
  4. Always keep academic quality standards high for your own work and overall course performance. Find your own motivation and keep a regular weekly progress to study the course material in advance.
  5. If you fail one activity do not get angry or upset as this is the best way to frustration. You better do the activity again by yourself the best way you can. You may say how can I do it again if I failed? Well, just remember we have one class session in which we discuss the correct exam and homework assignment answers, so look at your class notes again because you will find the answers there. Once you do that, you are free to contact me to comment on your work or to verify that now you know how to do it correctly. Most of the students who sadly fail this class ignore this recommendation because they are truly convinced that they do not understand or get frustrated because they fail to understand in the first attempts. Try and try again, eventually you will get it.
  6. If you have trouble with your group members because they fail to work under the basic standards, and you consider it unfair to include their names in the assignment cover sheet, remember you can co-evaluate them with 0 to activate a straight penalty in his or her mark. Your homework assignment co-evaluation will remain anonymous.
  7. Never get frustrated for too long because there will be no challenge that you cannot overcome with the right amount of time and effort. If after all you get frustrated, upset, or angry, do not let it happen too frequently and do not let it last for long. Ask for help whenever you need it, and remember you are free to contact me.

Prof. Dan Fleisch describes an effective way to ask for help in college classes.

  1. Remember the grading scheme. The lowest mark always weighs 30%, not 50%. And the highest mark always weighs 70%, not 50%. Do the math and you will see that failing one activity does not necessarily represent a risk to fail the class.
  2. If you would like to share something (anything) with me, feel free to do so. My email is: <martin.lozano@udem.edu>.
  3. Follow number 1.

7 Class schedule.

EMF, Spring 2023. Room 2401, 17:30 – 19:00.

7.1 Part 1.

Session 1. Thursday, 12 January.

  • Readings. Course syllabus (this document).
  • Activity. Welcome. Introduction to the course.
  • Activity. Set up your free DataCamp and Deepnote accounts (you should have invitations in your UDEM student email).
  • Activity. Define your group of no more than 4 members (you should have an invitation in your UDEM student email).

Session 2. Monday, 16 January.

Session 3. Thursday, 19 January.

Session 4. Monday, 23 January.

Session 5. Thursday, 26 January.

Session 6. Monday, 30 January.

Session 7. Thursday, 2 February.

  • \(H_1\) review session.

Holiday. Monday, 6 February.

Session 8. Thursday, 9 February.

  • Complete \(H_1\) before 10:00 a.m.
  • Review \(H_1\) answers.
  • \(E_1\) review session.

Session 9. Monday, 13 February.

  • \(E_1\) instructions available in Blackboard.

7.2 Part 2.

Session 10. Thursday, 16 February.

  • Review \(E_1\) answers.
  • Submit \(H_1\) and \(E_1\) auto and co-evaluation before 10:00 a.m. Instructions available in Blackboard.

Session 11. Monday, 20 February.

Session 12. Thursday, 23 February.

Session 13. Monday, 27 February.

Session 14. Thursday, 2 March.

Session 15. Monday, 6 March.

Session 16. Thursday, 9 March.

Session 17. Monday, 13 March.

Session 18. Thursday, 16 March.

Holiday. Monday, 20 March.

Session 19. Thursday, 23 March.

  • \(H_2\) review session.

Session 20. Monday, 27 March.

  • Complete \(H_2\) before 10:00 a.m.
  • Review \(H_2\) answers.
  • \(E_2\) review session.

Session 21. Thursday, 30 March.

  • \(E_2\) instructions available in Blackboard.
  • Friday 31 March: Submit \(H_2\) and \(E_2\) auto and co-evaluation before 10:00 a.m. Instructions available in Blackboard.

Holiday. Monday, 3 April.

Holiday. Thursday, 6 April.

7.3 Part 3.

Session 22. Monday, 10 April.

  • Review \(E_2\) answers.

Session 23. Thursday, 13 April.

Session 24. Monday, 17 April.

Session 25. Thursday, 20 April.

Session 26. Monday, 24 April.

Session 27. Thursday, 27 April.

Holiday. Monday, 1 May.

Session 28. Thursday, 4 May.

Session 29. Monday, 8 May.

Session 30. Thursday, 11 May.

  • Complete \(H_3\) before 10:00 a.m.
  • \(E_F\) review session.
  • Farewell.

7.4 The end.

Final exam. Monday, 15 May, 16:00 – 18:00.

  • \(E_F\) instructions available in Blackboard.

8 Internet resources.

The amount of online resources and references to learn R, and its applications in finance and economics is huge. This list is constantly growing.

8.1 Learn .

Consider the following specific online and free resources to start or continue learning R.

  • As my student you have a free DataCamp account. You can find at least 151 courses and 45 projects about R.
  • LearnR. An interactive introduction to data analysis with R. In this course, you’ll learn the basics of using R for data analysis. This should provide you with the necessary skills to use R when learning more advanced and specialised topics. You don’t need any prior experience with R, statistics, or programming to work through this material, however if you already have some experience you can start from any chapter you’d like to learn from.
  • Swirl teaches you R programming and data science interactively, at your own pace, and right in the R console.
  • Interactive Tutorials for R. The package makes it easy to turn any R Markdown document into an interactive tutorial.
  • R for Dummies. De Vries and Meys (2015).
  • Introduction to Econometrics with R. Hanck et al. (2020).
  • Introduction to Econometrics with R. Oswald et al. (2020).
  • Using R for Introductory Econometrics. Heiss (2020).
  • Handbook of Regression Modeling in People Analytics. With Examples in R and Python. McNulty (2021).
  • R Programming for Data Science. Peng (2016).
  • : elegant graphics for data analysis. Wickham (2016).
  • Bookdown: Authoring Books and Technical Documents with R Markdown. Xie (2021).
  • R Markdown Cookbook. Xie, Dervieux, and Riederer (2020).
  • R markdown: The Definitive Guide. Xie, Allaire, and Grolemund (2021).
  • R for Data Science. Grolemund and Wickham (2018).
  • To understand how R Markdown works: R Markdown guidelines.
  • Thiyanga Talagala: A detailed R Markdown guide.
  • Let’s Git started. Bryan (2018).
  • Probability, Statistics, and Data: A fresh approach using R. Foundations of Statistics with R.

8.2 YouTube installation guides.

In principle, as we are using Deepnote, you do not need to install any software on your computer. However, you may be interested to work with R on your local computer. Here is a good list of YouTube installation guides to do so.

As you may understand, R and RStudio versions are frequently updated and people regularly upload installation guides on YouTube. If you find a newer video for installing a newer version please share. In any case, these videos can definitely help you as a guide to install the newer version available.

8.3 Main sites and program webpages.

Main technology used in this course.

  • The R Project for Statistical Computing. R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.
  • RStudio. Inspired by innovators in science, education, government, and industry, RStudio develops free and open tools for R, and enterprise-ready professional products for teams who use both R and Python, to scale and share their work.
  • DataCamp. Learn the data skills you need online at your own pace—from non-coding essentials to data science and machine learning.
  • Tiny. A lightweight, cross-platform, portable, and easy-to-maintain  distribution based on  Live.
  • Compile R online.
  •  base. A web-based  editor with live document preview.
  • Overleaf. The easy to use, online, collaborative  editor.
  • .  is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation.
  • Git. A free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
  • GitHub. A provider of Internet hosting for software development and version control using Git. It offers the distributed version control and source code management functionality of Git, plus its own features.

8.4 Blogs and resources.

Here you can find questions and answers about programming in R.

  • R-Bloggers is a blog aggregator of content contributed by bloggers who write about R (in English). The site helps R bloggers and users to connect and follow the R blogosphere.
  • Stack Overflow. Founded in 2008, Stack Overflow’s public platform is used by nearly everyone who codes to learn, share their knowledge, collaborate, and build their careers.
  • R and Data Mining.
  • Revolutions. Milestones in AI, Machine Learning, Data Science, and visualization with R and Python since 2008.
  • R-ladies is a worldwide organization whose mission is to promote gender diversity in the R community.
  • These sources are the ones that most often hold the data that social science students and researchers at Tufts are looking for. Social Science Data and Statistics Resources.
  • Stack Exchange is a question and answer site for users of , , ConTeXt, and related typesetting systems.
  • Kaggle. Inside Kaggle you’ll find all the code & data you need to do your data science work. Use over 50,000 public datasets and 400,000 public notebooks to conquer any analysis in no time.
  • A gap exists between the Data Scientist’s skillset and the Business Objectives. Learn Data Science.
  • Rdatasets A collection of nearly 1500 datasets that were originally distributed alongside the statistical software environment R and some of its add-on packages.

8.5 Others.

  • ProjectElon. Study Motivation.
  • iPanda. Pandas are precious and vulnerable species in the world today.
  • Twitter hashtags: #rstats, #DataScience

This document took 2.38 seconds to compile in Rmarkdown, R version 4.2.1 (2022-06-23 ucrt).

References.

Brealey, Richard A, Stewart C Myers, Franklin Allen, and Pitabas Mohanty. 2020. Principles of Corporate Finance. 13th ed. McGraw-Hill Education.
Brooks, Chris. 2019. Introductory Econometrics for Finance. 2nd ed. Cambridge University Press.
Bryan, Jennifer. 2018. Happy Git and GitHub for the UseR. GitHub. https://happygitwithr.com/.
Çetinkaya-Rundel, Mine, and Johanna Hardin. 2021. Introduction to Modern Statistics. First. OpenIntro project. https://openintro-ims.netlify.app/.
D’Ignazio, Catherine, and Lauren F Klein. 2020. Data Feminism. Mit Press. https://datafeminism.io/.
De Vries, Andrie, and Joris Meys. 2015. R for Dummies. 2nd ed. John Wiley & Sons. http://sgpwe.izt.uam.mx/files/users/uami/gma/R_for_dummies.pdf.
Grolemund, Garrett, and Hadley Wickham. 2018. R for Data Science. https://r4ds.had.co.nz/.
Gujarati, Damodar N, Dawn C Porter, and Sangeetha Gunasekar. 2012. Basic Econometrics. 5th ed. McGraw-Hill.
Hanck, Christoph, Martin Arnold, Alexander Gerber, and Martin Schmelzer. 2020. Introduction to Econometrics with R. Essen: University of Duisburg-Essen. https://www.econometrics-with-r.org/.
Heiss, F. 2020. Using R for Introductory Econometrics. Independently Published. http://www.urfie.net/read/index.html.
Heiss, F., and D. Brunner. 2020. Using Python for Introductory Econometrics. Independently published. http://www.upfie.net/read/index.html.
Hull, John C. 2015. Options, Futures, and Other Derivatives. 9th ed. Prentice Hall.
———. 2020. Machine Learning in Business: An Introduction to the World of Data Science. Amazon Distribution.
Hyndman, Rob, and G. Athanasopoulos. 2021. Forecasting: Principles and Practice. 3rd ed. Australia: OTexts. https://otexts.com/fpp3/.
James, Gareth, Daniela Witten, Trevor Hastie, and Robert Tibshirani. 2021. An Introduction to Statistical Learning. Second. Springer. https://hastie.su.domains/ISLRv2_website.pdf.
Klein, Lauren F, and Matthew K Gold. 2019. Debates in the Digital Humanities 2019. Project Muse. https://dhdebates.gc.cuny.edu/.
Lozano, Martín. 2023a. Credit Risk with R. GitHub Pages. https://mlozanoqf.github.io/tutorial_arf/.
———. 2023b. Forecasting with R. GitHub Pages. https://mlozanoqf.github.io/tutorial_emf/.
———. 2023c. Options and VaR with R. GitHub Pages. https://mlozanoqf.github.io/tutorial_if/.
McNulty, Keith. 2021. Handbook of Regression Modeling in People Analytics: With Examples in R and Python. Chapman; Hall/CRC. http://peopleanalytics-regression-book.org/index.html.
Oswald, Florian, Vincent Viers, Pierre Villedieu, and Gustave Kennedi. 2020. Introduction to Econometrics with R. Paris, France: SciencesPo Department of Economics. https://scpoecon.github.io/ScPoEconometrics/.
Peng, Roger D. 2016. R Programming for Data Science. Leanpub. https://bookdown.org/rdpeng/rprogdatascience/.
R Core Team. 2023. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org/.
UN. 2015. UN General Assembly, Transforming Our World : The 2030 Agenda for Sustainable Development. U.N. https://www.refworld.org/docid/57b6e3e44.html.
Wickham, Hadley. 2016. Ggplot2: Elegant Graphics for Data Analysis. Bookdown. https://ggplot2-book.org/index.html.
Xie, Yihui. 2021. Bookdown: Authoring Books and Technical Documents with R Markdown. CRC Press. https://bookdown.org/yihui/bookdown/.
Xie, Yihui, Joseph J Allaire, and Garrett Grolemund. 2021. R Markdown: The Definitive Guide. CRC Press. https://bookdown.org/yihui/rmarkdown/.
Xie, Yihui, Christophe Dervieux, and Emily Riederer. 2020. R Markdown Cookbook. CRC Press. https://bookdown.org/yihui/rmarkdown-cookbook/.